package com.xy.service;

import com.xy.model.UserAndRole;


public interface UserRoleService {
    /**
     *
     * @param userAndRole
     * @return
     */
    int addUserRole( UserAndRole userAndRole);

    /**
     *
     * @param userId
     * @param roleId
     * @return
     */
    int delUserRole( Integer userId, Integer roleId);
}
